<template>
	<!-- 立即下单页 -->
	<view class="order-buy">
		<view class="perfect">
			<view class="perfect-content">
				<view class="icon iconfont icon-ren"></view>
				<view class="perfect-text">请完善个人资料</view>
				<view class="youjiantou">></view>
			</view>
			<view class="bannerBottom">
				<image src="https://huishou.68699.cn/addons/wjyk_recycle/public/static/index/underline@3x.png" mode=""></image>
			</view>
		</view>
		<!-- 商品信息 -->
		<view class="orderBuyMain">
			<view class="main-hotDetail">
				<view class="hotImg">
					<image src="../../static/images/list/goodsList/chuifengji.jpg" mode=""></image>
				</view>
				<view class="hotInfo">
					<view class="hotName">护手霜</view>
					<view class="hotcoins">回收币：700.00</view>
				</view>
			</view>
			<!-- 当前回收币 -->
			<view class="nowCoins">
				当前回收币：<text>0.00</text>
			</view>
			<!-- 数量、总计、留言 -->
			<view class="orderBuy-content">
				<!-- 数量 -->
				<view class="count">
					<view class="count-title">数量</view>
					<view class="addorSub">
						<view class="addCount">
							<image src="https://huishou.68699.cn/addons/wjyk_recycle/public/static/index/reduce-number.png" mode=""></image>
						</view>
						<view class="number">1</view>
						<view class="subCount">
							<image src="https://huishou.68699.cn/addons/wjyk_recycle/public/static/index/add-number.png" mode=""></image>
						</view>
					</view>
				</view>
				<!-- 总计 -->
				<view class="total">
					<view class="total-title">总计</view>
					<view class="total-sum">700.00回收币</view>
				</view>
				<!-- 留言 -->
				<view class="leaveWord">
					<view class="leaveWord-title">留言:</view>
					<textarea class="leave-text" v-model="leaveWordText" placeholder="请输入您的备注信息"></textarea>
				</view>
			</view>
		</view>
		<!-- 底部付款信息 -->
		<view class="footer">
			<view class="footerLeft">
				<text class="footerText">需付:</text>
				<text class="footer-coios">700.00回收币</text>
			</view>
			<view class="confirm">确认兑换</view>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				leaveWordText:"",//留言
			};
		}
	}
</script>

<style lang="scss" scoped>
.order-buy{
	padding-bottom: 100rpx;//8vh:底部付款信息高度+2vh:边距
	font-size: 29rpx;
	.perfect{
		background:#fff;
		box-sizing: border-box;
		.perfect-content{
			color: #9f9f9f;
			padding: 30rpx 40rpx;
			box-sizing: border-box;
			// width: 100%;
			margin: 0 30rpx;
			border-radius: 10rpx;
			background: #f3f3f3;
			display: flex;
			margin-bottom: 30rpx;
			.icon-ren{
				margin-right: 10rpx;
			}
			.perfect-text{
				font-size: 28rpx;
			}
			.youjiantou{
				margin-left: auto;
			}
		}
		.bannerBottom{
			image{
				width: 100%;
				height: 5rpx;
			}
		}
	}
	.orderBuyMain{
		padding: 0 30rpx;
		.main-hotDetail{
			background: #fff;
			padding: 30rpx 30rpx;
			margin-top: 20rpx;
			border-radius: 10rpx;
			display: flex;
			align-items: center;
			.hotImg{
				width: 240rpx;
				height: 240rpx;
				margin-right: 30rpx;
				image{
					height: 100%;
					width: 100%;
					border-radius: 10rpx;
				}
			}
			.hotInfo{
				// border: 1px solid #f00;
				.hotName{
					font-weight: bold;
				}
				.hotcoins{
					color: #00b388;
					margin-top: 40rpx;
					font-size: 27rpx;
				}
			}
		}
		// 当前回收币
		.nowCoins{
			margin-top: 30rpx;
			background: #fff;
			padding: 10rpx 30rpx;
			border-radius: 10rpx;
			text{
				color: #00b388;
				font-weight: bold;
			}
		}
		// 数量、总计、留言
		.orderBuy-content{
			background: #fff;
			border-radius: 10rpx;
			.count{
				padding: 20rpx 30rpx;
				border-bottom: 1px solid #efefef;
				display: flex;
				justify-content: space-between;
				.count-title{
					font-weight: bold;
				}
				.addorSub{
					display: flex;
					.number{
						height: 50rpx;
						width: 150rpx;
						color: #9f9f9f;
						line-height: 50rpx;
						// border: 1px solid #000;
						text-align: center;
						margin: 0 10rpx;
						background: #f7f7f7;
						border-radius: 10rpx;
					}
					image{
						width: 50rpx;
						height: 50rpx;
					}
				}
			}
			// 总计
			.total{
				padding: 20rpx 30rpx;
				display: flex;
				justify-content:space-between;
				font-weight: bold;
				border-bottom: 2rpx solid #efefef;
				.total-title{
					
				}
				.total-sum{
					color: #00b388;
				}
			}
			// 留言
			.leaveWord{
				padding: 20rpx 30rpx;
				display: flex;
				justify-content: space-between;
				.leaveWord-title{
					font-weight: bold;
				}
				.leave-text{
					height: 290rpx;
					font-size: 26rpx;
					width: 89%;
					// border: 1px solid #f00;
				}
			}
		}
	}
	.footer{
		display: flex;
		width: 100%;
		background: #fff;
		position: fixed;
		bottom: 0;
		// height: 80rpx;
		// border: 1px solid #f00;
		.footerLeft{
			padding: 30rpx 0 30rpx 30rpx;
			.footerText{
				color: #9f9f9f;
			}
			.footer-coios{
				color: #00b388;
			}
		}
		.confirm{
			width: 165rpx;
			height: 100%;
			// height: 5vh;
			// line-height: 5vh;
			background: #00b388;
			color: #fff;
			margin-left: auto;
			// line-height: 5vh;
			padding: 29rpx 0;
			text-align: center;
		}
	}
}
</style>
